﻿using System;
using RTW.Core.Attributes;
using RTW.Core.Entity;
using System.Collections.Generic;

namespace RTW.Model
{
    /// <summary>
    /// TMsg消息表实体类
    /// </summary>
    [Serializable]
    [Table(Name = "TMsg")]
    public partial class TMsg:IEntityBase
    {
        [Id(true)]
        public int ID { get; set; }

        /// <summary>
        /// 通知标题
        /// </summary>
        public string MsgTitle { get; set; }
        /// <summary>
        /// 通知信息
        /// </summary>		
        public string MsgInfo { get; set; }
        /// <summary>
        /// 状态  0-待审核  1-已通过 2-不通过  3-已过期
        /// </summary>		
        public int? State { get; set; }

        /// <summary>
        /// 发信人
        /// </summary>		
        public string UserID1 { get; set; }
        /// <summary>
        /// 发送时间
        /// </summary>		
        public DateTime? AddTime { get; set; }
        /// <summary>
        /// 收信人
        /// </summary>		
        public string UserID2 { get; set; }
        /// <summary>
        /// 组编号
        /// </summary>		
        public string GroupID { get; set; }
        /// <summary>
        /// 
        /// </summary>		
        public int? Flag1 { get; set; }
        /// <summary>
        /// 
        /// </summary>		
        public int? Flag2 { get; set; }
        /// <summary>
        /// 
        /// </summary>		
        public int? Flag3 { get; set; }
        /// <summary>
        /// 
        /// </summary>		
        public string Bak1 { get; set; }
        /// <summary>
        /// 
        /// </summary>		
        public string Bak2 { get; set; }
        /// <summary>
        /// 
        /// </summary>		
        public string Bak3 { get; set; }
        /// <summary>
        /// 
        /// </summary>		
        public int? DWID { get; set; }
        #region 分页参数
        /// <summary>
        /// 记录总数
        /// </summary>
        [IgnoreColumn]
        public int RecordCount { get; set; }
        #endregion
    }
}
